package com.netposa.datawarehouse.aggregator.web.vo;

import java.beans.ConstructorProperties;

public class VehicleAttrVo {
   private String clpp;
   private int csys;

   public String getClpp() {
      return this.clpp;
   }

   public int getCsys() {
      return this.csys;
   }

   public void setClpp(String clpp) {
      this.clpp = clpp;
   }

   public void setCsys(int csys) {
      this.csys = csys;
   }

   public boolean equals(Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof VehicleAttrVo)) {
         return false;
      } else {
         VehicleAttrVo other = (VehicleAttrVo)o;
         if (!other.canEqual(this)) {
            return false;
         } else {
            Object this$clpp = this.getClpp();
            Object other$clpp = other.getClpp();
            if (this$clpp == null) {
               if (other$clpp == null) {
                  return this.getCsys() == other.getCsys();
               }
            } else if (this$clpp.equals(other$clpp)) {
               return this.getCsys() == other.getCsys();
            }

            return false;
         }
      }
   }

   protected boolean canEqual(Object other) {
      return other instanceof VehicleAttrVo;
   }

   public int hashCode() {
      
      int result = 1;
      Object $clpp = this.getClpp();
      result = result * 59 + ($clpp == null ? 43 : $clpp.hashCode());
      result = result * 59 + this.getCsys();
      return result;
   }

   public String toString() {
      return "VehicleAttrVo(clpp=" + this.getClpp() + ", csys=" + this.getCsys() + ")";
   }

   @ConstructorProperties({"clpp", "csys"})
   public VehicleAttrVo(String clpp, int csys) {
      this.clpp = clpp;
      this.csys = csys;
   }
}
